﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>弹出鼠标所指的链接地址</title>
</head>
<body onmouseover="if (event.srcElement.tagName=='A')alert(event.srcElement.href)">
<a href="http://www.google.com" >Google搜索</a><br />
<a href="http://www.baidu.com" >百度搜索</a>
</body>
</html>